package fangzhiyi.work.tank;

/**
 * @author fangzhiyi
 * @version 1.0
 * @date 2025/3/20 17:16
 * @description
 */
public class TankTest {
    public static void main(String[] args) {
        ATank aTank = new ATank(80,20,20);
        BTank bTank = new BTank(40,40,40);
        CTank cTank = new CTank(20,80,80);

        aTank.shoot();
        aTank.move();
        aTank.death();

        bTank.shoot();
        bTank.move();
        bTank.death();

        cTank.shoot();
        cTank.move();
        cTank.death();
    }
}
